package io.zim.modules.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 广告实体
 * @author zzh
 * @email 862583291@qq.com
 * @date 2018-12-16 18:51:40
 */
@TableName("nideshop_ad")
@Data
public class AdVo implements Serializable {
    private static final long serialVersionUID = 1L;
    //主键
    @TableId(type = IdType.AUTO)
    private Integer id;
    //广告位置Id
    private Integer adPositionId;
    //形式
    private Integer mediaType;
    //广告名称
    private String name;
    //链接
    private String link;
    //图片
    private String imageUrl;
    //内容
    private String content;
    //结束时间
    private Date endTime;
    //状态
    private Integer enabled;
    //排序
    private Integer sortOrder;
}
